const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  lastTime: state => state.user.lastTime,
  userId: state => state.user.userId,
  position: state => state.user.position,
  classname: state => state.user.classname,
  isTeacher: state => state.user.isTeacher,
  teacherRoutes: state => state.settings.teacherRoutes,
  studentRoutes: state => state.settings.studentRoutes
}

export default getters
